//
//  SwitchTableCell.m
//  MokoAPP
//
//  Created by 현식 강 on 11. 8. 11..
//  Copyright 2011 아이온. All rights reserved.
//

#import "SwitchTableCell.h"


@implementation SwitchTableCell
@synthesize switchObj;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        switchObj = [[UISwitch alloc] initWithFrame:CGRectZero];
        self.accessoryView = switchObj;
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc
{
    [switchObj release];
    [super dealloc];
}


@end
